package quotation.utils;

import java.util.Random;


public class RandomUtil {

    private static Random random=new Random();

    public static String createCode(int len){
        StringBuilder result= new StringBuilder();
        for (int i = 0; i < len; i++) {
            int nextInt = random.nextInt(10);
            result.append(nextInt);
        }
        return result.toString();
    }

}
